package cc.yaomm.common.basic.file.properties;

import lombok.Data;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * Created by XQL on 2020/5/15.
 * 阿里云OSS配置属性类
 */
@Data
@ToString
@ConfigurationProperties(prefix = AliOSSProperties.ALI_OSS_PREFIX)
public class AliOSSProperties {

    public static final String ALI_OSS_PREFIX = "oss.aliyun";

    /**
     * 访问Key
     */
    private String appKey;

    /**
     * 访问密钥
     */
    private String appSecret;

    /**
     * 访问仓库
     */
    private String bucket;

    /**
     * 访问地址
     */
    private String endpoint;

}
